SCREEN DEPTH
This command will return an integer value of the current screen depth.
Return Integer=SCREEN DEPTH()
The depth, the screen is set to
The depth value indicates the number of bits used to make up a color for the screen and therefore reveal how many colors in total can be used by the screen. A value of 16 indicates it is a 16-bit screen and uses 32000 colors, whereas a 32-bit screen uses 16 million colors.
cls
set display mode 800,600,32
set window on
maximize window
wait 1000*8
print "screen depth "+str$(screen depth())
do
loop
end
DISPLAY Commands Menu
Index